package indi.lqzhi.tcpserver.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: LQZhi
 * @ClassName: BusMessage
 * @Date: 2021-09-30 00-19
 * @Description: This is a BusMessage Class.
 * @Version: V1.0
 */
@Data
@NoArgsConstructor(staticName = "of")
@AllArgsConstructor(staticName = "of")
@EqualsAndHashCode(callSuper = false)
public class BusMessage implements Serializable {

    /**
     * 谁的消息
     */
    private String id;

    /**
     * 消息内容
     */
    private byte[] object;
}
